Rendering Less Than and Greater Than in HTML
In HTML, the characters < and > are reserved for tags. To display them as normal text on a webpage, you need to use HTML entities so that the browser does not interpret them as HTML syntax.
< → represents the less-than sign (<)
> → represents the greater-than sign (>)
In short: Use < for < and > for > when you want to render these characters as text in HTML instead of HTML tags.